home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / CHIP Kasım 1996.iso / ms / catapult / catapult.exe / ALPHA / RWSPERF.H < prev    next >
Text File  |  1996-05-30  |  2KB  |  65 lines

  1. #define RWSSRV_COUNTER_OBJ              0
  2.  
  3.     // Number of active sessions  (CSession objects)
  4. #define COUNTER_ActiveSessions                  2
  5.  
  6.     // Total number of active TCP  connections (CConnection
  7.     // objects for TCP), active means doing Data-Pump.
  8.     // Connections that are in the "connect" call are counted
  9.     // elsewhere.
  10. #define COUNTER_ActiveTCPConnections            4
  11.  
  12.     // Total number of active UDP connections (CConnection
  13.     // objects for TCP)
  14. #define COUNTER_ActiveUDPConnections            6
  15.  
  16.     // Total number of connections (CConnection objects) that are
  17.     // waiting for remote "connect()" call to finish.
  18. #define COUNTER_ConnectingTCPConnections        8
  19.  
  20.     // Total number of connections (CConnection objects) that are
  21.     // waiting for in-bound "connect()" call to finish.
  22.     // These are connections done from RWS to a client after
  23.     // RWS accepted a connection from the Internet on a listening socket.
  24. #define COUNTER_BackConnectingTCPConnections   10
  25.  
  26.     // Number of connection objects that wait for TCP connection
  27.     // from the client (after a successful remote connect)
  28. #define COUNTER_AcceptingTCPConnections        12
  29.  
  30.     // Number of connection objects that wait for TCP connections
  31.     // from the Internet (after a successful remote listen)
  32. #define COUNTER_ListeningTCPConnections        14
  33.  
  34.     // The number of Data-Pump worker threads that are alive.
  35. #define COUNTER_WorkerThreads                  16
  36.  
  37.     // The number of Data-Pump worker threads that are available
  38.     // (waiting in completion port queue)
  39. #define COUNTER_AvailableWorkerThreads         18
  40.  
  41.  
  42.     // Number of times "new" or "malloc" failed.
  43. #define COUNTER_AllocFailureLogs               20
  44.  
  45.     // Number of times "new" or "malloc" failed.
  46. #define COUNTER_PumpTotalRead                  22
  47.  
  48.     // Number of times "new" or "malloc" failed.
  49. #define COUNTER_PumpTotalWrite                 24
  50.  
  51. #define COUNTER_PendingGetXByY                 26
  52.  
  53. #define COUNTER_SuccessGetXByY                 28
  54.  
  55. #define COUNTER_FailedGetXByY                  30
  56.  
  57.     // The number of control channel worker threads that are alive.
  58. #define COUNTER_CtrlWorkerThreads              32
  59.  
  60.     // The number of control channel worker threads that are available
  61.     // (waiting in completion port queue)
  62. #define COUNTER_CtrlAvailableWorkerThreads     34
  63.  
  64. #define LastCounter                            34
  65.